package com.website.company.service;

import com.baomidou.mybatisplus.service.IService;
import com.website.company.entity.Person;
import com.website.company.entity.Person ;
import com.website.company.utils.ResponseList;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author peng yangyan
 * @since 2018-11-22
 */
public interface PersonService extends IService<Person> {

    void add(Person  person );


    void update(Person  person );


    void delete(Integer[] ids);


    Person  show(Integer id);


    ResponseList<Person > list(Integer page, Integer rows, String keywords, String personClassName);

    ResponseList<Person > listByOne(Integer page, Integer rows, String keywords, String personClassName);


    List<Person > allPerson ();



}
